package com.example.musicplatform.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * @Author: caowj1217
 * @Date: 2021/8/4下午4:58
 * @Description:
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName(value = "sheet")
public class Sheet {

    @TableId
    private long sheetId;
    private String sheetName;
    private long userId;

    @TableField(exist = false)
    private Set<Music> musicSet;
}
